<template>
	<view>
		<view class="title">
			<image src="https://ayh.yhfhyy.com.cn/img/logo.png" />
			<view>北京爱育华医院</view>
		</view>

		<view class="notice-title">{{msg}}</view>

		<view class="items">
			<view class="item">
				<view class="left">就诊人: </view>
				<view class="right">张三</view>
			</view>

			<view class="item">
				<view class="left">就诊科室: </view>
				<view class="right">综合外科</view>
			</view>

			<view class="item">
				<view class="left">就诊医生: </view>
				<view class="right">赵元</view>
			</view>
			
			<view class="item">
				<view class="left">挂号序号: </view>
				<view class="right">5号</view>
			</view>

			<view class="item">
				<view class="left">就诊时段: </view>
				<view class="right">2024年1月23日 上午</view>
			</view>

			<view class="item">
				<view class="left">温馨提示: </view>
				<view class="right">{{tip}}</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				msg: '',
				msgObj: {
					succ: '挂号成功通知',
					fail: '取消挂号通知'
				},
				tip: '',
				tipObj: {
					succ: '报道按挂号序号就诊，过号需要重新报道排队,就诊当天请到医院自助机取号（医保患者使用医保卡或医保电子凭证取号）,用身份证取号无法医保报销。',
					fail: '您已成功取消综合内科门诊普通医生,2024年01月27日下午的预约号,退款将在1-3个工作日返回支付账户'
				},
			}
		},
		mounted() {
			this.msg = this.msgObj.succ
			this.tip = this.tipObj.succ
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.title {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 15px;
		border-bottom: 1px solid #f2f2f2;

		image {
			width: 80px;
			height: 40px;
		}

		>view {
			margin-left: 15px;
			font-size: 1rem;
			font-weight: bold;
			color: #999;
		}
	}

	.notice-title {
		padding: 15px;
		color: #666;
		font-size: .8rem;
		font-weight: bold;
	}

	.items {
		padding: 0 15px 15px 15px;
		color: #999;

		.item {
			display: flex;
			align-items: center;
			padding: 5px 0;
			
			.left{
				width: 70px;
				text-align: right;
			}

			.right {
				margin-left: 15px;
				flex: 1;
				color: #333;
			}
		}

	}
</style>